package org.imast.services;

import java.util.ArrayList;
import java.util.List;

import org.imast.models.ModelMarket;

public class ServiceMarket {
	
	public List<ModelMarket> getAll(){
		
		List<ModelMarket> list = new ArrayList<ModelMarket>();
		
		ModelMarket market1 = new ModelMarket();
		market1.setId(1);
		market1.setDescripcion("A01");
		market1.setLatitud(-12.025982);
		market1.setAltitud(-77.036062);

		ModelMarket market2 = new ModelMarket();
		market2.setId(1);
		market2.setDescripcion("A02");
		market2.setLatitud(-12.129400);
		market2.setAltitud(-76.981534);
		
		ModelMarket market3 = new ModelMarket();
		market3.setId(1);
		market3.setDescripcion("A03");
		market3.setLatitud(-12.090196);
		market3.setAltitud(-76.995911);

		ModelMarket market4 = new ModelMarket();
		market4.setId(1);
		market4.setDescripcion("A01");
		market4.setLatitud(-12.203510);
		market4.setAltitud(-77.014584);
		
		list.add(market1);
		list.add(market2);
		list.add(market3);
		list.add(market4);
		
		return list;
		
	}

}
